droptarget: Make formats construct-only writable
authorBenjamin Otte <otte@redhat.com>
Mon, 26 Jul 2021 00:34:18 +0000 (02:34 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 27 Jul 2021 02:28:04 +0000 (04:28 +0200)
commit192bfa10cb7086029840f2b115a12323baef90de
treeb6480bce08f49fa2bf2a3caa391fad6870b35dba
parent0781429dc5adbd890fed70ee8810f50c93d0dc07
droptarget: Make formats construct-only writable

This way, it can be set in GtkBuilder.

Also make sure to only ever look at the GTypes set in the formats, as
GtkDropTarget cannot deal with mime types.
gtk/gtkdroptarget.c